package entity;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder={"did","dname","dtype"})
public class Department{
	private String did;
	private String dname;
	private String dtype;
	
	public Department(){
		super();
	}
	
	
	public Department(String did, String dname, String dtype) {
		super();
		this.did = did;
		this.dname = dname;
		this.dtype = dtype;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="部门编号")
	public String getDid() {
		return did;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="部门名称")
	public String getDname() {
		return dname;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="部门类型")
	public String getDtype() {
		return dtype;
	}
	public void setDid(String did) {
		this.did = did;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public void setDtype(String dtype) {
		this.dtype = dtype;
	}
	
}
